package com.ms.user.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @description mp_book
 * @author Bboy_smartv
 * @date 2021-10-11
 */
@Data
@TableName("mp_book")
public class MpBook implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
    * id
    */
    @Excel(name = "id",width = 15)
    private Integer id;

    /**
    * book_name
    */
    @Excel(name = "姓名",width = 30)
    private String bookName;

    /**
    * author
    */
    @Excel(name = "作者",width = 30)
    private String author;

    /**
    * publish
    */
    @Excel(name = "出版社",width = 30)
    private String publish;

    /**
    * pages
    */
    @Excel(name = "页数",width = 15)
    private Integer pages;

    /**
    * price
    */
    @Excel(name = "价格",width = 30)
    private Float price;
    /**
     * 经度
     */
    @Excel(name = "经度",width = 30)
    private String longitude;

    /**
     * 维度
     */
    @Excel(name = "维度",width = 30)
    private String latitude;
    public MpBook() {}
}